package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class AccountCyd {
    private Integer id;

    private Integer month;

    private Integer pendingorder;

    private Integer paidorder;

    private Integer notdelivered;

    private Integer allorder;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getPendingorder() {
        return pendingorder;
    }

    public void setPendingorder(Integer pendingorder) {
        this.pendingorder = pendingorder;
    }

    public Integer getPaidorder() {
        return paidorder;
    }

    public void setPaidorder(Integer paidorder) {
        this.paidorder = paidorder;
    }

    public Integer getNotdelivered() {
        return notdelivered;
    }

    public void setNotdelivered(Integer notdelivered) {
        this.notdelivered = notdelivered;
    }

    public Integer getAllorder() {
        return allorder;
    }

    public void setAllorder(Integer allorder) {
        this.allorder = allorder;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", month=").append(month);
        sb.append(", pendingorder=").append(pendingorder);
        sb.append(", paidorder=").append(paidorder);
        sb.append(", notdelivered=").append(notdelivered);
        sb.append(", allorder=").append(allorder);
        sb.append("]");
        return sb.toString();
    }

    public AccountCyd() {
    }

    public AccountCyd(Integer id, Integer month, Integer pendingorder, Integer paidorder, Integer notdelivered, Integer allorder) {
        this.id = id;
        this.month = month;
        this.pendingorder = pendingorder;
        this.paidorder = paidorder;
        this.notdelivered = notdelivered;
        this.allorder = allorder;
    }
}